<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="true"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="sx"  uri="/struts-dojo-tags"%>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
     <head>
 
         <title>Register Page</title>
         <sx:head/>       
          <style type="text/css">
    		@import "css/table.css";
            </style>
     </head>
 
    <body>
        <s:form action="Price34Action!edit.action" theme="simple">
        运输及销售单价维护|<a href="Price34Action!toGetPriceList.action">运输及销售单价列表</a>
     
         <table>
            
             <tr>
                    <td style="text-align:right">
                     
                    </td>
                    <td>                 
                       <s:hidden name="price34.id" label="编号" />

                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                        选择车辆
                    </td>
                    <td>    
                     <s:select  label="选择车辆"  list="#session.car_list" name="price34.carId" listKey="id" listValue="num" headerValue="${price34.carId}" />             
                      
                    </td>
                </tr>
               
                <tr>
                    <td style="text-align:right">
                        采热地点
                    </td>
                    <td>
                     <s:select  label="选择公司"  list="#session.company_list_suply" name="price34.comIdA" listKey="id" listValue="comName" headerValue="${price34.comIdA}" />
                     
                    </td>
                </tr>
                
                <tr>
                    <td style="text-align:right">
                        客户
                    </td>
                    <td>
                    <s:select  label="选择客户"  list="#session.company_list_custom" name="price34.comIdB" listKey="id" listValue="comName" headerValue="${price34.comIdB}" />                                        
                    </td>
                </tr>
               
           <tr>
                    <td style="text-align:right">
                        运费单价
                    </td>
                    <td>
                       <s:textfield name="price34.priceTrafc" label="运费" />
                    </td>
                </tr> 
                     
           <tr>
                    <td style="text-align:right">
                        运费结算方式
                    </td>
                    <td>
                        <s:select  label="结算方式"  list="#session.statmap" name="price34.stmtStyleTrafc" listKey="key" listValue="value"  headerValue="${price34.stmtStyleTrafc}" emptyOption="false"/>
                  
                    </td>
                </tr>  
         <!-- 
          <tr>
                    <td style="text-align:right">
                        运费计量单位
                    </td>
                    <td>
                       <s:textfield name="price34.unitTrafc" label="运费计量单位" />
                    </td>
                </tr> 
          --> 
     
            <tr>
                   <th style="text-align:right">
                       供热类型
                    </th>
                    <td>
                        <!--<s:textfield name="price34.extAttr1" label="属性1" /> -->
                        
                         <s:select label="供热类型" list="#session.map_heat_style"  name="price34.extAttr1" listKey="key" listValue="value" headerValue="${price34.extAttr1}" />     
                    </td>
         </tr>     
            <tr>
                    <th style="text-align:right">
                    供热单价
                    </th>
                    <td>
                       <s:textfield name="price34.priceSell" label="销售单价" />
                    </td>
                </tr> 
                     
           <tr>
                    <th style="text-align:right">
                    供热结算方式
                    </th>
                    <td>
                      
                       <s:select  label="销售结算方式"  list="#session.statmap" name="price34.stmtStyleSell" listKey="key" listValue="value"  headerValue="${price34.stmtStyleSell}"  emptyOption="false"/>
                   
                    </td>
                </tr>  
         <!--  
          <tr>
                    <td style="text-align:right">
                        销售计量单位
                    </td>
                    <td>
                       <s:textfield name="price34.unitSell" label="运费计量单位" />
                    </td>
                </tr>   
            -->           
                          
              <tr>
                   <td style="text-align:right">
                      
                    </td>
                    <td>
                    
                    <sx:datetimepicker label="失效日期" name="price34.invalidationDate" displayFormat="yyyy-MM-dd"/> 
                     <!--  <s:date name="price34.invalidationDate" format="yyyy-MM-dd" /> -->  
                    </td>
                </tr>
             <tr>
                   <td style="text-align:right">
                        备注
                    </td>
                    <td>
                        <s:textfield name="price34.remark" label="备注" />
                        <s:hidden name="price34.extAttr3" label="属性3" /><!-- 价格所属公司id -->
                    </td>
                </tr>
    
          
          <tr>
                   <td style="text-align:right">
                        奖罚价格
                    </td>
                    <td>
                        <s:textfield name="price34.extAttr2" label="属性2" />
                    </td>
          </tr>  
          <!-- 
          
            <tr>
                   <td style="text-align:right">
                        属性4
                    </td>
                    <td>
                        <s:textfield name="price34.extAttr4" label="属性4" />
                    </td>
          </tr>   
              <tr>
                   <td style="text-align:right">
                        属性5
                    </td>
                    <td>
                        <s:textfield name="price34.extAttr5" label="属性5" />
                    </td>
          </tr>   
           -->       
           <tr>
                    <td style="text-align:right">
                        <s:submit value="保存"  />
                    </td>
                    <td style="text-align:left">
                        <s:reset value="取消"/>
                    </td>
                    
                      <td style="text-align:left">
                      
                    </td>
                    
                </tr>
            </table>
        </s:form>
        <s:fielderror cssStyle="color:red"/>
    </body>
</html>
